/*
 * @Version: 1.0
 * @Date: 2020-11-30 15:49:05
 * @Author: 吴彦祖
 * @LastEditTime: 2021-01-15 15:25:14
 */
// export const APIUrl = 'http://192.168.2.107:8899/elearnning'
export const APIUrl =
  process.env.NODE_ENV === "development"
    ? "/medmoment"
    : window.location.origin + "/medmoment";

export function baseUrl(id) {
  return APIUrl + "/common/downloadFile?fileId=" + id;
}

export const uploadFileUrl = `${APIUrl}/common/upload`;

export const ueditorUploadFileUrl = `${APIUrl}/common/ueditorUpload`;
